<template>
  <div class="bg-white border-solid rounded-md overflow-hidden">
    <div class="flex justify-center pt-1 mb-2">
      <span class="text-[0.6rem]">工作</span>
    </div>
    <div class="flex overflow-x-auto">
      <div v-for="item in access" :key="item.function" class="mx-2 mb-2">
        <Work :title="item.function" :icon="item.icon" :link="item.link"></Work>
      </div>
    </div>
  </div>
</template>

<script setup>
import Work from "@/components/Work.vue";

const props = defineProps({
  access: [],
});
</script>

<style lang="scss" scoped></style>
